﻿@{
    ViewBag.Title = "EditSelfInfo";
    Layout = "~/Views/Shared/_CreateLayout.cshtml";
}
@model SelfInfo.Models.SELFINFO
<h2>Edit SelfInfo</h2>

@using (Html.BeginForm("Edit", "SelfInfo", FormMethod.Post, new { @class = "form-horizontal", role="form" })) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>SELFINFO</legend>

        <div class='form-group'>
           <div class="col-sm-2 control-label">
               @Html.LabelFor(model => model.PIECEID)
           </div>
           <div class="col-sm-4">
              
               @Html.TextBoxFor(x => x.PIECEID, new { @class = "form-control", @readonly="True"})
           </div>
        </div>
        
        <div class='form-group'>
           <div class="col-sm-2 control-label">
               @Html.LabelFor(model => model.TODAY)
           </div>
           <div class="col-sm-4">
               @Html.EditorFor(model => model.TODAY, "DataPicker")
               @Html.ValidationMessageFor(model => model.TODAY)
           </div>
        </div>

        <div class='form-group'>
            <div class="col-sm-2 control-label">
                @Html.LabelFor(model => model.SCORE)
            </div>
            <div class="col-sm-4">
                @Html.TextBoxFor(x => x.SCORE, new { @class = "form-control" })
            </div>

        </div>

        <div class='form-group'>
           <div class="col-sm-2 control-label">
               @Html.LabelFor(model => model.BRIEF)
           </div>
           <div class="col-sm-4">
               @Html.TextBoxFor(x => x.BRIEF, new { @class = "form-control" })
           </div>
        </div>

        <div class='form-group'>
           <div class="col-sm-2 control-label">
               @Html.LabelFor(model => model.COMMENT)
           </div>
           <div class="col-sm-4">
               @Html.TextBoxFor(x => x.COMMENT, new { @class = "form-control" })
           </div>
        </div>
        <div class='form-group'>
           <div class='col-sm-6'>
              <button type="submit" class="btn btn-primary pull-right">Edit</button>
           </div>
        </div>
    </fieldset>
}
